package com.xjscrm.common.utils.ww.dto;

import lombok.Data;

import java.util.Objects;

/**
 * @author mingyang.chen create in 2024/5/6 18:17
 */
@Data
public class WwBaseResultDTO {

    private int errcode;
    private String errmsg;

    public boolean success() {
        return Objects.equals(errcode, 0);
    }
}
